home *** CD-ROM | disk | FTP | other *** search
/ PC Media 4 / PC MEDIA CD04.iso / share / udos / rbootcpp / reboot.txt < prev   
Encoding:
Text File  |  1992-07-10  |  974 b   |  31 lines

  1. Just some notes about the REBOOT code.
  2.  
  3. 1.    This code was compiled with Borland C++ 3.1
  4.  
  5. 2.    The control break handler function is used to intercept control
  6.         break key board requests.
  7.  
  8. 3.    The date and time of each reboot can be saved to the file
  9.         REBOOT.LOG if it exists in the directory from which the program
  10.         was called.
  11.  
  12. 4.    The password has been hard coded into the program so if you want to
  13.         change it(you probably will) then change the constant on the strcmp
  14.         call.
  15.  
  16. 5.    The whole point of this program is to reboot your computer so this is
  17.         done through the use of BASM code.  The variable Reset_Flag contains
  18.         the address of the location where the flag for reset is stored.
  19.         There are two values that I know work:
  20.             0x1234 - Warm boot and
  21.             0x0000 - Cold boot(memory test).
  22.  
  23.         The BASM code executes a jmp 0xffff which starts the reboot process.
  24.  
  25. Any comments or questions can be sent to:
  26. [75470,3627]
  27. Joe Chavez
  28. (714)782-3747
  29.  
  30.  
  31.